<template>
  <div>
     <button @click="msg='hello vue'">修改</button>
     <MySon :msg="msg" :obj="obj"></MySon>
   </div>
</template>
 
<script>
import MySon from "./my-son.vue"
export default {
  name: "MyFather",
  components:{
    MySon,
  },
  props: {},
  data() {
    return {
      msg:"hello word",
      obj:{
        name:"张三",
        age:{
          a:23
        }
      }
    };
  },
  computed: {},
  watch: {},
  created() {},
  methods: {}
};
</script>

<style scoped>
     
</style>